import { Module } from '@nestjs/common';
import { PurchaseService } from './purchase.service';
import { PurchaseController } from './purchase.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Purchase } from './Purchase.entity';
import { DeptModule } from 'src/dept/dept.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Purchase]),
    DeptModule
  ],
  providers: [PurchaseService],
  controllers: [PurchaseController]
})
export class PurchaseModule { }
